package com.zhumei.keyscale.net;

import okhttp3.*;
import me.jingbin.bymvvm.livebus.*;
import androidx.lifecycle.*;
import java.io.*;

public class NetInterceptor implements Interceptor
{
    public int getTotalamount() {
        return 1;
    }
    
    public Response intercept(final Interceptor$Chain interceptor$Chain) throws IOException {
        LiveDataBus.getInstance().with("").observerSticky((LifecycleOwner)null, (Observer)new Observer() {
            @Override
            public void onChanged(final Object o) {
            }
        }, true);
        return interceptor$Chain.proceed(interceptor$Chain.request().newBuilder().addHeader("Connection", "close").build());
    }
}
